﻿using System;

namespace FluentlyXml.Core.DSL
{
	public interface IInitialTypeSerializationSpec<T> : ITypeSerializationSpec<T>
	{
		//TODO: Think about how this works.  It could project a property to a new type,
		//		or it could just return an XElement to be injected directly into the 
		//		resulting XML.  Should it close the current expression? 
		ITypeSerializationSpec<T> Using(Func<T, object> expression);
	}
}